{include file="component/form/text.tpl"}

{config module=backend param=wysiwyg assign=type}

{if not empty($type)}
	{script src="scripts/wysiwyg.js"}
	{include file="component/form/wysiwyg/$type.tpl"}
	<script type="text/javascript">
	<!--

	Wysiwyg.create('{$type}', '{$name}');

	//-->
	</script>
{/if}
